/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hojadetrabajo7;

class RedBlackSet implements WordSet {

    private RedBlackTree<Word> base;

    public RedBlackSet() {
        base = new RedBlackTree<Word>();
    }

    public Word get(Word word) {        
        return base.get(word);
    }

    public void add(Word wordObject) {
        base.add(wordObject);
    }
}